txt=input("输入文件内容：")
fo=open("D:\hello.txt","w+")
fo.write(txt)

